package com.wish.housing.service.impl;

import com.wish.housing.entity.TbRelationStylePicture;
import com.wish.housing.mapper.TbRelationStylePictureMapper;
import com.wish.housing.service.ITbRelationStylePictureService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 房源-图片表 服务实现类
 * </p>
 *
 * @author gaoluwen
 * @since 2022-03-30
 */
@Service
public class TbRelationStylePictureServiceImpl extends ServiceImpl<TbRelationStylePictureMapper, TbRelationStylePicture> implements ITbRelationStylePictureService {

    @Override
    public String getStylePicture(String type) {
        return baseMapper.getStylePicture(type);
    }

    @Override
    public List<String> getRoomStylrImageByStyleId(String type) {
        return baseMapper.getRoomStylrImageByStyleId(type);
    }
}
